<!DOCTYPE html>
<html lang="zh-CN">
<head>
 
    <meta charset="utf-8" />
    <title>伯坦换电站计费系统-首页</title>
        <meta content="width=device-width, height=device-height, initial-scale=1.0" name="viewport" />
        <meta content="" name="description" />
        <meta content="" name="author" />
        <link rel="shortcut icon" href="${base}/static/img/icon_btkj.png">
 
 
	    
        
<#include "bases/global_style.ftl">
<#include "bases/global_js.ftl">

<script>
	
		   jQuery(document).ready(function(){   
		            App.init();
		            var strtemp;
		            $.ajax({
			            type : "POST",
			            url : CONTEXT+'/get_nowtime',
						dataType : "json",  
			      	    cache : false,  
			      	    async : false,
			      	  	success : function(data) {
			      	  		strtemp = data.nowtime;
				      	}
			        });
		            /* var nowtime = new Date();
		            if(nowtime.getMonth()>9&&nowtime.getDay()>9){
		            	strtemp = nowtime.getFullYear()+"-"+(nowtime.getMonth()+1)+"-"+nowtime.getDay();
			        }else{
				        strtemp = nowtime.getFullYear()+"-0"+(nowtime.getMonth()+1)+"-0"+nowtime.getDay();
				    } */
				    $('#private').attr('href','${base}/trade_abnormal_manage?begindate='+strtemp+'%2000:00:00&enddate='+strtemp+'%2023:59:59');
				    $('#company').attr('href','${base}/trade_abnormal_manage?task=company&begindate='+strtemp+'%2000:00:00&enddate='+strtemp+'%2023:59:59');
				    $('#coupon').attr('href','${base}/coupon_manage?begintime='+strtemp+'%2000:00:00&endtime='+strtemp+'%2023:59:59&status=1');
		            
	        });
		   
</script>
 
</head>

     
<body>
     
     <#include "bases/navhead.ftl">
     <#include "bases/sidebar.ftl">
 <div class="secMenu-content">
							  		
							  		<a id="private" href="" class="col-xs-6 col-sm-4 col-md-3 dash-block">
								  		<div class="dash-box dash-box2">
								  			<div class="dash-box-left left">今日个人退款</div>
								  			<div class="dash-box-right right">
								  				<span><#if indexModel.getPersonRefund()??>${indexModel.getPersonRefund()}</#if></span>条
								  				<span>待审核</span>
								  			</div>
								  			<div class="dash-box-bottom">
								  				<span>详情</span>
								  				<i class="fa fa-arrow-circle-o-right"></i>
								  			</div>
								  		</div>
							  		</a>
							  		
							  		<a id="company" href="" class="col-xs-6 col-sm-4 col-md-3 dash-block">
								  		<div class="dash-box dash-box3">
								  			<div class="dash-box-left left">今日对公退款</div>
								  			<div class="dash-box-right right">
								  				<span><#if indexModel.getCompanyRefund()??>${indexModel.getCompanyRefund()}</#if></span>条
								  				<span>待审核</span>
								  			</div>
								  			<div class="dash-box-bottom">
								  				<span>详情</span>
								  				<i class="fa fa-arrow-circle-o-right"></i>
								  			</div>
								  		</div>
							  		</a>
							  		
							  		<a id="coupon" href="${base}/coupon_manage" class="col-xs-6 col-sm-4 col-md-3 dash-block">
								  		<div class="dash-box dash-box4">
								  			<div class="dash-box-left left">优惠券活动</div>
								  			<div class="dash-box-right right">
								  				<span><#if indexModel.getCouponNum()??>${indexModel.getCouponNum()}</#if></span>条
								  				<span>仍有效</span>
								  			</div>
								  			<div class="dash-box-bottom">
								  				<span>详情</span>
								  				<i class="fa fa-arrow-circle-o-right"></i>
								  			</div>
								  		</div>
							  		</a>
							  		
							  		<a href="${base}/return_money_manage" class="col-xs-6 col-sm-4 col-md-3 dash-block">
								  		<div class="dash-box dash-box5">
								  			<div class="dash-box-left left">返现活动</div>
								  			<div class="dash-box-right right">
								  				<span><#if indexModel.getReturnMoney()??>${indexModel.getReturnMoney()}</#if></span>条
								  				<span>仍有效</span>
								  			</div>
								  			<div class="dash-box-bottom">
								  				<span>详情</span>
								  				<i class="fa fa-arrow-circle-o-right"></i>
								  			</div>
								  		</div>
							  		</a>
								</div>
 </body>
</html>